home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group99a.txt / 000061_icon-group-sender _Wed Mar 24 08:23:48 1999.msg < prev    next >
Internet Message Format  |  2000-09-20  |  3KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA02816
  4.     for icon-group-addresses; Wed, 24 Mar 1999 08:23:42 -0700 (MST)
  5. Message-Id: <199903241523.IAA02816@baskerville.CS.Arizona.EDU>
  6. X-Authentication-Warning: helios.dmu.ac.uk: hgs owned process doing -bs
  7. Date: Wed, 24 Mar 1999 09:34:10 +0000 (GMT)
  8. From: Hugh Sasse <hgs@dmu.ac.uk>
  9. To: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
  10. cc: icon-group@optima.CS.Arizona.EDU
  11. Subject: Re:  opendir/readdir in Icon?
  12. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  13. Status: RO
  14.  
  15. On Wed, 24 Mar 1999, Richard A. O'Keefe wrote:
  16.  
  17. > Hugh Sasse wrote:
  18. > > I think every machine I have used since about 1978 which had a disk
  19. > > supported heirarchical directory structures.
  20. > Then you haven't used VM/CMS or RT-11 or the old Mac filesystem.
  21. > (The old Mac file system had nested *folders* but no actual
  22. > directories, file names had to be unique on a disc.)
  23.  
  24. No, I never used a Mac, and it explains why I found RT-11 
  25. baffling when I encountered it :-) And I vaguely remember RSX-11M
  26. being a bit odd in this department too, but am not sure.  But we
  27. digress (a little)... 
  28.  
  29. > > However, I cannot find
  30. > > anything in the Icon book or the online docs about how to test a
  31. > > "file" to
  32. > > see if it is a file or a directory, or how to list a directory without
  33. > > making a call to some program outside Icon.
  34. > Note that there are no such functions in standard C either.
  35. OK, though Unix provides stat, and Perl, Tcl, Python do also in a
  36. fairly cross platform way, and standard C doesn't provide anything
  37. like Icon's string handling so I would not have chosen that as a
  38. baseline :-)
  39.  
  40. > > Is there really no equivalent to opendir and readdir in Icon?
  41. > "Portable" Icon, right.
  42.  
  43. I want to keep things portable as far as possible.
  44.  
  45. > > Or where should I be looking?
  46. > Unicon.
  47.  
  48. Discussions I have had confirm that this is looking a good way to 
  49. go.  However, I am surprised at the number of answers on this list
  50. that say "Use Unicon" rather than "It is available in Unicon but in 
  51. Icon 9.4 we plan to have ...".  So I have to ask: what is the
  52. future of Icon, as opposed to its descendents Idol, Jcon, Unicon?
  53. The language has some really cunning features, (readable string
  54. scanning, result or failure, generators...) so it would be a shame
  55. if development just stopped.  Or is it just that the Icon Project
  56. are trying to avoid "feeping creaturism", as Larry Wall called it?
  57.  
  58.     Thank you,
  59.     Hugh
  60.     hgs@dmu.ac.uk
  61.  
  62.